import { Injectable } from '@angular/core';
import { HttpClientService } from 'app/services/http-client.service';

@Injectable()
export class ReviewBackService {

  constructor(public httpClient: HttpClientService) { }
  //流程明细
  list(getBody) {
    return this.httpClient.get('/pms/v1/riskmanage/qdiiJournal/getQdiiJournal', getBody);
  }
  // 审核接口
  audit(putbody) {
    return this.httpClient.put('/pms/v1/riskmanage/qdiiJournal/audit', putbody);
  }
  // 解锁
  unlock(getbody) {
    return this.httpClient.get('/pms/v1/riskmanage/qdiiJournal/unLock', getbody);
  }
  //设置默认接口
  setDefault(postBody) {
    return this.httpClient.post('/pms/v1/sendHis/setDefault', postBody);
  }
  //获取设置默认值
  defaultValue(getBody) {
    return this.httpClient.get('/pms/v1/sendHis/defaultValue', getBody);
  }
}
